package com.siqi.hr.system.organization.entity;

import java.io.Serializable;

/**
 * 角色实体数据权限对象
 * @author    xiaogq
 */
public class RoleEntityScope{
	/**
	 * 主键id
	 */
	private String id;

	/**
	 * 角色id
	 */
	private String roleId;

	/**
	 * 实体id
	 */
	private Integer entityId;

	/**
	 * 实体名称
	 */
	private String entityName;

	/**
	 * 读取数据权限标识
	 */
	private String viewLevel;

	/**
	 * 编辑数据权限标识
	 */
	private String editLevel;

	/**
	 * 删除数据权限标识
	 */
	private String deleteLevel;

	public String getRoleId() {
		return this.roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public Integer getEntityId() {
		return this.entityId;
	}

	public void setEntityId(Integer entityId) {
		this.entityId = entityId;
	}

	public String getViewLevel() {
		return this.viewLevel;
	}

	public void setViewLevel(String viewLevel) {
		this.viewLevel = viewLevel;
	}

	public String getEditLevel() {
		return this.editLevel;
	}

	public void setEditLevel(String editLevel) {
		this.editLevel = editLevel;
	}

	public String getDeleteLevel() {
		return this.deleteLevel;
	}

	public void setDeleteLevel(String deleteLevel) {
		this.deleteLevel = deleteLevel;
	}

	public String getEntityName() {
		return this.entityName;
	}

	public void setEntityName(String entityName) {
		this.entityName = entityName;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Serializable getId() {
		return this.id;
	}

	public RoleEntityScope() {
	}

	public RoleEntityScope(String level) {
		this.viewLevel = level;
		this.editLevel = level;
		this.deleteLevel = level;
	}

	public RoleEntityScope(String viewLevel, String editLevel,String deleteLevel) {
		this.viewLevel = viewLevel;
		this.editLevel = editLevel;
		this.deleteLevel = deleteLevel;
	}
}
